package io.renren.modules.yckj.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 优惠券管理
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2025-04-16
 */
@Data
public class CouponsExcel {
    @ExcelProperty(value = "主键")
    private Long id;
    @ExcelProperty(value = "标题")
    private String title;
    @ExcelProperty(value = "内容")
    private String content;
    @ExcelProperty(value = "链接")
    private String url;
    @ExcelProperty(value = "优惠券数量")
    private Integer num;
    @ExcelProperty(value = "已领取数量")
    private Integer received;
    @ExcelProperty(value = "排序")
    private Integer rank;
    @ExcelProperty(value = "图片")
    private String image;
    @ExcelProperty(value = "是否结束:0否，1是")
    private Integer status;
    @ExcelProperty(value = "优惠券类型，0：无门槛，1满减")
    private Integer type;
    @ExcelProperty(value = "最少金额")
    private BigDecimal minAmount;
    @ExcelProperty(value = "优惠金额")
    private BigDecimal discount;
    @ExcelProperty(value = "开始时间")
    private Date startTime;
    @ExcelProperty(value = "结束时间")
    private Date endTime;
    @ExcelProperty(value = "创建时间")
    private Date createTime;
    @ExcelProperty(value = "更新时间")
    private Date updateTime;

}